package com.zyuan.lawyerport.view.aModule.adapter;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.zyuan.lawyerport.R;
import com.zyuan.lawyerport.view.aModule.Bean.ConsultingMsgBean;

import java.util.List;

/**
 * 作者 ：RAN
 * 时间 ：2019/10/16 11:38
 * 类名 ：ConsultingMsgAdapter
 * 描述 ：咨询留言适配器
 * 版本 ：1.0
 */
public class ConsultingMsgAdapter extends BaseQuickAdapter<ConsultingMsgBean, BaseViewHolder> {


    public ConsultingMsgAdapter( List<ConsultingMsgBean> data) {
        super(R.layout.item_consulting_msg_layout, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ConsultingMsgBean item) {
        helper.setText(R.id.item_consulting_msg_text_name,item.getName());
    }
}
